<!doctype html>
<html lang="zh_en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <!--<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>-->
    <!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>-->
    <title>Document</title>
</head>
<body>

</body>
<script>
//    (function () {
//       for(var i = 0; i < 10000; i++) {
//       	    console.log(i)
//       }
//    })()

/*    for (let i = 0; i < 10000; i++) {
    	document.write(`<div>我是第 ${i} 个div</div>`)
    }*/
    let html = '';
    for (let i = 0; i < 10000; i++) {
        html += `<div>我是第 ${i + 1} 个div</div>`
    }
    document.write(html)


</script>
</html>
